package com.basic.length;

import org.openjdk.jol.info.ClassLayout;

public class ObjSizeTest {

	public static void main(String[] args) {
		String str = "测喉康散风寒咳嗽大黑哥看电费辉哥对方kg可视电话办公室客户公司客户各色";
		System.out.println(str.getBytes().length);
		System.out.print(ClassLayout.parseClass(Object.class).toPrintable(str));
	}
}
